import {createRouter, createWebHistory} from 'vue-router';
import Home from "../components/Home";

console.log(createRouter);


const router = createRouter({
  history: createWebHistory(window.__POWERED_BY_QIANKUN__ ? '/#/device/deviceTest' : '/'),
  routes: [
    {
      path: '/home',
      name: 'home',
      component: Home
    }
  ]
})

export default router
